//Iditarod Trail
//Amelia Bauer, Elise Eiden, Christine Gerardi, Taryn Green
//CSE 20212 2012
#ifndef GENERICWINDOW_H_
#define GENERICWINDOW_H_

#include <QtGui>
#include <QApplication>
#include <QString>
#include <QLabel>
#include <QPalette>
#include <string>

using namespace std;

class GenericWindow: public QDialog {
 	Q_OBJECT

public:
	//Constructor 
	GenericWindow(int, string, QString, QTimer*, QDialog *parent = 0);
	int getRestDays();

public slots:
	//Closes box or program
	void closeThis();
	void close();

protected:

private:
	QLineEdit *rest;
	QTimer* clock;
	int event();

};

#endif
